package com.zpz.framework.zpzoauth.common.utils;
/**
 * @author zhangpanzhi
 * @time 2019-07-09
 * @description 未经本人允许请勿随便改动，尊重劳动
 * */
public interface ZpzOauthCommonConstant {
    String RELEASE_ACCESS = "release_access";
    String CLIENT_INFO = "client_info";
    Long RELEASE_ACCESS_HOURS = 24 * 365 * 100L;
    String SIGN_KEY = "merryyou";
    String ZPZ_LICENSE = "made by zpz.com";
    String ZPZ_AUTHOR = "create by zpz-oauth";
    String NUMBER_VRIFICATION_CODE = "0";
    int NUMBER_VRIFICATION_CODE_LENGTH = 4;
    long EXPIRE_VRIFICATION_CODE = 300000L;
    String VERIFICATION_CODE_CACHE_NAME = "verificationCodeCache";
    String REQUEST_HEADER_LIENCE = "license";
    String SET_EN_NOT_VALUE = "2";
    String SET_DE_NOT_VALUE = "2";
    String SET_SIGN_NOT_VALUE = "2";
    String SET_CHECK_SIGN_NOT_VALUE = "2";
    String SET_USER_CODE="userCode";
    String SET_CLIENT_ID="clientId";
    String SET_API_CODE="apicode";
    String SET_DE_VALUE = "1";
    String SET_CHECK_SIGN_VALUE = "1";
    // 客户端权限类型 客户端权限类型$0URBAC（基于用户角色）类型$1CRBAC（基于客户端角色）
    Integer CLIENT_ACCESS_TYPE_1=1;
    String X_CA_PROXY_SIGNATURE ="X-Ca-Proxy-Signature";
    String SIGN_SECRET_KEY = "414c92090b5f05cf372101c3426adfa2";
    /**
     * 数据加解密KEY
     */
    String PRIVATE_KEY = "MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAJCwQaXeySZ/bBCRL36cqbeGP6QxpIA2dzSlr9CMV28mD+JNwAM8YeIJdjE6U0wURaiZnISkcjPoPVR+tWlQCssyvFPqqplFeQ2HXzQG/WYJ1BXw75r/1IwfSdTUGNeLjrI7/Kt8RjabFlX+a5R99cIiTljd1S8EWcxmHg0qWPpXAgMBAAECgYBclEsNJUY0Geg9mYh4TSnTQlVKbHFDkJYp27JpkMMJXaNgPDuWVnaTOValHRrbXUVNIi0iOk7Qo9NKU2Ekp5CfgCT4DkODFcPsewfL/agQBJKUhJ5aKmDkcs2/PTs0xJNMAP7nPsaDFfAKOk0kH5xA7jj1+Otx+LXTEc5juI4VYQJBAP7HjqsjL8u/3ytkzJ/uK0iRc0odxxl2DhBO9tvz7sIjAynCBY7AIqcTJsPr9v0p762tI/e7rANe9RAzjiP9p1kCQQCRYbER/VMfvoPk9OdA18mUZfnFwOy9+RxML5BPVKYsFibSYRUsCegRo29v4gwFOEoYXKkP8hsP4HtZquxhiikvAkEA0aIZPa9CEH/bfLT/uUgazScAmadOvyBoCfsvG2PmvE5at+0w7XgiCx6y8tog68WptFmWEqyUqGFleuMwvWRkYQJAU8v6c0MP+Zknjv32mXKH10icGnckPi/rNqKnzIIfMgQmpladDIA9SoVowxWJFi0m0DoAnJdRL+qVTs7tZx9qswJBAMP35Ag+8UFJBFzLSqb5ipHaWiNpWaYe2oRqrVbtVu7byjaTp9fgscyOByu+JbJeIaeTi2JCJCdpZoqRe1cAItA=";
    String PUBLIC_KEY = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCQsEGl3skmf2wQkS9+nKm3hj+kMaSANnc0pa/QjFdvJg/iTcADPGHiCXYxOlNMFEWomZyEpHIz6D1UfrVpUArLMrxT6qqZRXkNh180Bv1mCdQV8O+a/9SMH0nU1BjXi46yO/yrfEY2mxZV/muUffXCIk5Y3dUvBFnMZh4NKlj6VwIDAQAB";

    /**
     * 用户状态，1：正常，0：禁用，-1锁定
     */
    Integer USER_STATUS_ENABLED = 1;
    String DEFAULT_PASSWORD="123456";

    /**
     * 该请求设置加密解密
     * true:不设置
     * false:不加解密
     */
    String SET_EN = "set_en";
    String SET_DE = "set_de";
    String SET_SIGN = "set_sign";
    String SET_CHECK_SIGN = "set_check_sign";
    String SET_EN_VALUE = "1";
    String SET_SIGN_VALUE = "1";
}
